﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace yDevice.Trigger
{
    public class FallingEdge
    {
        private bool last = false;
        public bool Clk
        {
            set
            {
                Q = !value && last;
                last = value;
            }
        }
        public bool Q { get; private set; }
    }
}
